﻿package component.fileupload.action;

public class FileUploadActionFactory {
	public static IFileUploadAction getFileUploadAction(){
		return new BaiduFileUploadAction();
		//return new ServletFileUploadAction();
		//return new SmartFileUploadAction();
	}
	
	public static IFileUploadAction getServletFileUploadAction(){
		System.out.println("servlet实现上传");
		return new ServletFileUploadAction();
	}
	
	public static IFileUploadAction getSmartFileUploadAction(){
		System.out.println("smart实现上传");
		return new SmartFileUploadAction();
	}
	
	public static IFileUploadAction getStrutsFileUploadAction(){
		System.out.println("struts实现上传");
		return new StrutsFileUploadAction();
	}
}
